package com.jmb.waimao.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to mark parameters of tool methods
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface ToolParam {
    
    /**
     * Description of the parameter
     */
    String description() default "";
    
    /**
     * Whether the parameter is required
     */
    boolean required() default true;
    
    /**
     * Name of the parameter (defaults to parameter name)
     */
    String name() default "";
}
